package cn.pconline.autoclub.entity;

import java.util.Date;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
import org.gelivable.dao.Label;

/**
 * @author zhouruxuan
 * @date 2015年5月8日 下午12:04:01
 */
@Entity(tableName = "ac_user_forum",split = "Mod:userId:10")
@Label("用户车友会圈关系表")
public class UserForum {

	@Id
	@Column(name = "user_id")
	private long userId;
	
	@Id
	@Column(name = "forum_id")
	private long forumId;
	
	@Column(name = "forum_name")
	private String forumName;
	
	@Column(name = "status")
	private int status;
	
	@Column(name = "create_date")
	private Date createDate;
	
	@Column(name = "update_date")
	private Date updateDate;
	
	public static final int STATUS_NORMAL = 1;//绑定
	public static final int STATUS_DELETE = -1;//解绑

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public long getForumId() {
		return forumId;
	}

	public void setForumId(long forumId) {
		this.forumId = forumId;
	}

	public String getForumName() {
		return forumName;
	}

	public void setForumName(String forumName) {
		this.forumName = forumName;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
}
